package com.loves.admin.service.impl;

import com.loves.admin.mapper.RoleMapper;
import com.loves.admin.model.Role;
import com.loves.admin.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;


    @Override
    public Role findById(String id) {
        return roleMapper.selectById(id);
    }
}
